<body>
<script src="../resources/testharness.js"></script>
<script src="../resources/testharnessreport.js"></script>
<iframe id="i"></iframe>
<script>
promise_test(async function(t) {
  let face = new FontFace("face", "url(../resources/Ahem.ttf)", {});
  await face.load();
  i.contentDocument.fonts.add(face);
  document.fonts.add(face);
});
</script>
